package com.ims.pojo;

import java.util.Set;

/**
 * @author: zk
 * @date: 2022/8/31 20:35
 */
public class UserVO {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 登录认证token
     */
    private String accessToken;
    /**
     * 用于刷新token
     */
    private String refreshToken;
    /**
     * 当前用户的权限资源id集合
     */
    private Set<Integer> resourceIds;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Set<Integer> getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(Set<Integer> resourceIds) {
        this.resourceIds = resourceIds;
    }
}
